﻿using System;

namespace Codeflows
{
    class RuntimeActionContext : IActionContext
    {
        public int DispatchAttemptsCount
        {
            get { throw new InvalidOperationException("Methods in this action context should not be invoked."); }
        }

        public Guid CodeflowId
        {
            get { throw new InvalidOperationException("Methods in this action context should not be invoked."); }
        }

        public Exception LastException
        {
            get { throw new InvalidOperationException("Methods in this action context should not be invoked."); }
        }
    }
}
